<template>
  <div class="discovery"
       :style="{ height: `${cheight}px` }">
    <div class="dd">
      <card-list />
      <card-detail />
    </div>


  </div>
</template>

<script>

import CardList from '../components/discovery/CardList.vue'
import CardDetail from '../components/discovery/CardDetail.vue'
export default {
  name: "Discovery",
  components: {
    CardList,
    CardDetail
  },
  computed:{
    cheight(){
      return document.documentElement.clientHeight;
    }
  }
}
</script>

<style lang="less">
.discovery {
  height: 90%;
  z-index:1;
  .dd {
    padding-top: 80px;
    color: white;
    height: 100%;
    width: 100%;
    overflow: hidden;
  }
}

</style>